import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'
import axios from 'axios'
import './plugins/vant.js'
import './assets/css/global.css'
import { Notify } from 'vant'
axios.defaults.baseURL = 'http://geek.itheima.net/'
// axios.defaults.baseURL = 'https://toutiao.itheima.net/'

Vue.config.productionTip = false
Vue.prototype.$http = axios
Vue.prototype.$msg = Notify

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
